package com.boot.configstatistical.topic;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

/**
 * @author songlin.an
 * @className Result
 * @description TODO
 * @date 2023/5/13 19:55
 **/

public class TopicConfig {

    @ExcelProperty(value = "Topic名称",order = 3)
    @ColumnWidth(30)
    private String topic;

    @ExcelIgnore
    private Integer rightType;
    @ExcelProperty(value = "消费组",order = 5)
    @ColumnWidth(30)
    private String consumeGroup;

    private String projectName;
    @ExcelProperty(value = "应用",order = 1)
    @ColumnWidth(30)
    private String projectCode;
//    private String appCode;
    @ExcelProperty(value = "系统",order = 0)
    @ColumnWidth(30)
    private String appName;


    @ExcelProperty(value = "角色",order = 2)
    @ColumnWidth(30)
    private String topicType;

    @ExcelProperty(value = "集群类型",order = 4)
    @ColumnWidth(30)
    private String logicType;


    //    private String clusterName;
//    private String clusterType;
    //    private Integer id;
    //    private String clusterCode;
//    private Integer appId;
    //    private Integer disable;
//    private String createTime;
//    private String updateTime;
//    private String ownProjectName;
//    private Integer projectId;
//    private String secretKey;

//    private String consumerPhase;
//    private String producerPhase;
//    private String appLeader;
//    private String projectLeader;
//    private String topicCreateTime;
//    private Integer topicDisable;
//    private String topicLevel;


    public String getLogicType() {
        return logicType;
    }

    public void setLogicType(String logicType) {
        this.logicType = logicType;
    }

    public String getTopicType() {
        return topicType;
    }

    public void setTopicType(String topicType) {
        this.topicType = topicType;
    }

    public Integer getRightType() {
        return rightType;
    }

    public void setRightType(Integer rightType) {
        this.rightType = rightType;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }



    public String getConsumeGroup() {
        return consumeGroup;
    }

    public void setConsumeGroup(String consumeGroup) {
        this.consumeGroup = consumeGroup;
    }



    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }


    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }
}
